package com.wang.controller;

import com.wang.entity.PropertyFee;
import com.wang.service.PropertyFeeService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;
import java.time.LocalDateTime;
import java.util.List;

@RestController
@RequestMapping("/propertyFee")
public class PropertyFeeController {
    @Resource
    private PropertyFeeService propertyFeeService;
    @RequestMapping("/get")
    public List<PropertyFee> getPropertyFee(String ptitle, LocalDateTime startDate, LocalDateTime endDate){
        return propertyFeeService.getPropertyFee(ptitle, startDate, endDate);
    }


}
